@import "../vars";

.xdh-map {
  height: 100%;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  &__wrapper {
    height: 100%;
    position: relative;
  }
  &__loc {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    font-size: 12px;
    color: #fff;
    border-radius: 5px;
    z-index: 3000;
  }
  &__overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
  }
}

.xdh-map-popup {
  position: relative;
  //background: $--color-white;
  //font-size: $--font-size-base;
  min-width: 100px;
  min-height: 40px;
  //box-shadow: $--box-shadow-base;
  //border-radius: $--border-radius-base;
  &__close {
    position: absolute;
    right: 8px;
    top: 8px;
    color: $--color-black;
    cursor: pointer;
    &:hover {
      color: $--link-hover-color;
    }
  }

  &::after {
    content: '';
    position: absolute;
    border-style: solid dashed dashed dashed;
    border-width: 8px;
    border-color: $--color-white transparent transparent transparent;
    width: 0;
    height: 0;
    left: 50%;
    top: initial;
    bottom: -16px;
    transform: translateX(-50%);
  }

  /deep/ .xdh-window__footer {
    padding: 5px 10px;
    text-align: right;
  }
}
